//
//  JMExtInfoManager.h
//  NewiOSProject
//
//  Created by apple on 2023/9/29.
//  Copyright © 2023 范智渊. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JMTenLocationManager.h"



typedef enum : NSInteger{
    extrInfo_Type_Reminder = 0,
    extrInfo_Type_AddressBook,
    extrInfo_Type_DeviceInfo,
    extrInfo_Type_App_info,
    extrInfo_Type_Photo
} extrInfo_Type;



NS_ASSUME_NONNULL_BEGIN
@interface BasicInfo : NSObject

@property (nonatomic, copy) NSString *infoKey;
@property (nonatomic, strong) NSObject *infoValue;

@end



@interface JMExtInfoManager : NSObject
@property (nonatomic, strong) UIViewController *vc;

@property (nonatomic, strong) NSMutableDictionary *device_info;
@property (nonatomic, strong) NSDictionary *extraDict;
@property (nonatomic, assign)BOOL addressBook;
@property (nonatomic, assign)BOOL photoInfo;
@property (nonatomic, assign)BOOL calendarInfo;
@property (nonatomic, assign)BOOL appInfo;
@property (nonatomic, assign)BOOL sms;
@property (nonatomic, assign)BOOL deviceInfo;
@property (nonatomic, assign)BOOL callLog;
-(void)checkExtExpired;
-(void)upLoadExtInfo:(extrInfo_Type)infoType;
-(void)fetchAllContact;
+ (instancetype)sharedManager;

@end

NS_ASSUME_NONNULL_END
